package face.pay.web.paycode.service;

import face.pay.entity.MchPayCodeBatch;
import face.pay.entity.UserInfo;
import face.pay.util.ResultMessage;
import face.pay.util.page.PageData;
import face.pay.util.page.PageParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IPayCodeService {

    public PageData<MchPayCodeBatch> queryBatchCode(PageParam pageParam, UserInfo loginUser, MchPayCodeBatch mchPayCodeBatch);

    ResultMessage addBatchCode(UserInfo loginUser, MchPayCodeBatch mchPayCodeBatch);

    void down(UserInfo loginUser, Integer batchId, HttpServletRequest request, HttpServletResponse response);
}
